package com.module.admin.rest.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.module.admin.rest.pojo.RestServer;

/**
 * rest_server的Dao
 * @author yuejing
 * @date 2016-12-23 16:43:04
 * @version V1.0.0
 */
public interface RestServerDao {

	public abstract void save(RestServer restServer);

	public abstract void update(RestServer restServer);

	public abstract void delete(@Param("rsId")Integer rsId);

	public abstract RestServer get(@Param("rsId")Integer rsId);

	public abstract List<RestServer> findRestServer(RestServer restServer);
	
	public abstract int findRestServerCount(RestServer restServer);

	public abstract RestServer getByServerAddress(@Param("serverAddress")String serverAddress);
}
